<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="ISO-8859-1"%>
    <%@taglib uri="/struts-tags" prefix="s"%>
    <%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="/passeport-animalier/css/main.css" rel="stylesheet" type="text/css"/>
<title><s:text name="espace.veterinaire"/> </title>
</head>
<body>
	<jsp:include page="../layout/navigation_bar.jsp"/>
	<jsp:include page="../layout/header.jsp"/>
	<div class="wrapper">
		<jsp:include page="../layout/menu.jsp"/>
		<div class="content">
			<div class="title">
				<h5> <s:text name="titre.veterinaire.mamadie.nouveau"/> </h5>
			</div>
			<s:if test="hasActionErrors()">
 			<div class="nNote nFailure">
				<p>
					<s:actionerror/>
				</p>
			</div> 
 			</s:if>
 			<s:if test="hasActionMessages()">  
			    <div class="nNote nSuccess" style="padding-left:47px;">  
			   		<p>
			       	 <s:actionmessage/> 
			        </p>
			    </div>  
			</s:if> 
			<div class="widget first" style="width: 60%;" >
				<div class="head">
				     <h5 class="iList"> <s:text name="form.creation"/> </h5>
			    </div>
			    <div class="body">
			    	<s:form action="v_nouveau_maladie" namespace="/veterinaire" cssClass="mainForm" method="post" theme="simple">
			    			<div class="rowElem">
								<label> <s:text name="maladie.nom"/> </label>
								<div class="formRight">
								<input type="text" value="${maladie.nom}" name="maladie.nom">
								<span class="field_error"> <s:property value="errors['maladie.nom']"/> </span>
								</div>
								<div class="fix"></div>
							</div>
			    			<div class="rowElem">
								<label> <s:text name="maladie.description"/> </label>
								<div class="formRight">
								<textarea  name="maladie.description">
									<s:property value="maladie.description"/>
								</textarea>
								<span class="field_error"> <s:property value="errors['maladie.description']"/> </span>
								</div>
								<div class="fix"></div>
							</div>
							<div class="rowElem">
								<s:submit cssClass="greyishBtn submitForm" value="%{getText('form.save')}"/>
							</div>
							<div class="fix"></div>
			    	</s:form>
			    </div>
		    </div>
	    </div>
	</div>
	<jsp:include page="../layout/footer.jsp"/>
</body>
</html>